package com.example.im.entity

import com.example.im.common.Enumerate

class EventBusData<T> {
    var type: Enumerate.Handle? = null
    var action: Enumerate.Action? = null
    var data: T? = null

    internal constructor()

    internal constructor(type: Enumerate.Handle) {
        this.type = type
    }

    internal constructor(type: Enumerate.Handle, data: T) {
        this.type = type
        this.data = data
    }

    internal constructor(type: Enumerate.Handle, action: Enumerate.Action, data: T) {
        this.type = type
        this.action = action
        this.data = data
    }
}